#!/usr/bin/python2.7

import gtk
from BuildTool import *
from GraphDisplayer import *
import gobject

from Dependency import *
from GraphicalGraph import *

gobject.type_register(GraphDisplayer)
gobject.type_register(DependencyNode)
gobject.type_register(GraphicalGraph)

gobject.signal_new("execute_asked", GraphDisplayer, gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, (GraphicalGraph, DependencyNode))

gobject.threads_init()
gtk.gdk.threads_init()

tool = BuildTool()

gtk.threads_enter()
gtk.main()
gtk.threads_leave()
